import {Column, Entity, PrimaryGeneratedColumn} from "typeorm";

/**
 * 视频采集表
 */
@Entity()
export class VideoRecord {
    @PrimaryGeneratedColumn()
    id!: number;

    @Column('bigint')
    user_id!: number;

    @Column('varchar')
    word!: string;

    @Column('varchar')
    title!: string;

    @Column('varchar')
    video_url!: string;

    @Column('int')
    video_status!: number;

    @Column('datetime')
    last_update_time!: Date;

    @Column('datetime')
    create_time!: Date;

    @Column('int')
    auto_type!:number

    @Column('varchar')
    video_id!: string;

    @Column('varchar')
    image!: string;

    @Column('datetime')
    video_create_time!: Date;


}
